/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmDiagnosa.java
 *
 * Created on Jan 24, 2012, 11:13:14 AM
 */
package SIMRS.Radiologi.view;

import usu.widget.Form;

/**
 *
 * @author H@ruM
 */
public class frmRegistrasiRadiologi extends Form {

    /** Creates new form frmDiagnosa */
    public frmRegistrasiRadiologi() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        label3 = new SIMRS.Radiologi.widget.Label();
        pnlHead1 = new SIMRS.Radiologi.widget.PnlHead();
        label4 = new SIMRS.Radiologi.widget.Label();
        jLabel1 = new javax.swing.JLabel();
        pnlForm2 = new SIMRS.Radiologi.widget.PnlForm();
        label5 = new SIMRS.Radiologi.widget.Label();
        txtNoRegistrasi = new SIMRS.Radiologi.widget.TextBox();
        txtNoRm = new SIMRS.Radiologi.widget.TextBox();
        txtNama = new SIMRS.Radiologi.widget.TextBox();
        cmbJenisKelamin = new javax.swing.JComboBox();
        label17 = new SIMRS.Radiologi.widget.Label();
        label8 = new SIMRS.Radiologi.widget.Label();
        label9 = new SIMRS.Radiologi.widget.Label();
        label12 = new SIMRS.Radiologi.widget.Label();
        txtRuangan = new SIMRS.Radiologi.widget.TextBox();
        txtKelas = new SIMRS.Radiologi.widget.TextBox();
        txtJenisPasien = new SIMRS.Radiologi.widget.TextBox();
        txtDaftarTanggal = new SIMRS.Radiologi.widget.TextBox();
        label10 = new SIMRS.Radiologi.widget.Label();
        label11 = new SIMRS.Radiologi.widget.Label();
        label13 = new SIMRS.Radiologi.widget.Label();
        btnSimpan = new SIMRS.Radiologi.widget.button2();
        btnKeluar1 = new SIMRS.Radiologi.widget.button2();

        label3.setText("label3");

        setTitle("Form Registrasi Radiologi");
        setAnimationHide(usu.widget.constan.Animation.SHOW_FROM_TOP);
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_BOTTOM);
        setResizable(false);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnlHead1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label4.setForeground(new java.awt.Color(255, 255, 255));
        label4.setText("Form Pasien Baru");
        label4.setFont(new java.awt.Font("HGSHeiseiKakugothictaiW9", 1, 24));
        pnlHead1.add(label4, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 40, -1, -1));

        jLabel1.setForeground(new java.awt.Color(255, 255, 255));
        jLabel1.setText("Data Pasien Baru");
        pnlHead1.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 70, -1, -1));

        getContentPane().add(pnlHead1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 560, 120));

        pnlForm2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label5.setText("No Registrasi                       ");
        pnlForm2.add(label5, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 30, -1, -1));
        pnlForm2.add(txtNoRegistrasi, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 20, 182, -1));
        pnlForm2.add(txtNoRm, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 50, 182, -1));
        pnlForm2.add(txtNama, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 80, 180, -1));

        cmbJenisKelamin.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Laki-laki", "Perempuan" }));
        pnlForm2.add(cmbJenisKelamin, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 110, 180, 22));

        label17.setText("Jenis Kelamin     ");
        pnlForm2.add(label17, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 110, -1, 30));

        label8.setText("Nama               ");
        pnlForm2.add(label8, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 90, -1, -1));

        label9.setText("No Rm                               ");
        pnlForm2.add(label9, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 60, -1, 20));

        label12.setText("Ruangan                      ");
        pnlForm2.add(label12, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 230, -1, -1));
        pnlForm2.add(txtRuangan, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 230, 180, -1));
        pnlForm2.add(txtKelas, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 200, 180, -1));
        pnlForm2.add(txtJenisPasien, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 170, 180, -1));
        pnlForm2.add(txtDaftarTanggal, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 140, 180, -1));

        label10.setText("Tanggal Daftar                ");
        pnlForm2.add(label10, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 140, -1, 30));

        label11.setText("Jenis Pasien                    ");
        pnlForm2.add(label11, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 180, -1, -1));

        label13.setText("Kelas                                        ");
        pnlForm2.add(label13, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 200, -1, 20));

        btnSimpan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/bt_simpan.png"))); // NOI18N
        btnSimpan.setText("Simpan");
        pnlForm2.add(btnSimpan, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 300, -1, -1));

        btnKeluar1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Radiologi/gambar/bt_close.png"))); // NOI18N
        btnKeluar1.setText("Keluar");
        btnKeluar1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluar1ActionPerformed(evt);
            }
        });
        pnlForm2.add(btnKeluar1, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 300, -1, -1));

        getContentPane().add(pnlForm2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 130, 540, 350));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-562)/2, (screenSize.height-523)/2, 562, 523);
    }// </editor-fold>//GEN-END:initComponents

private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
System.exit(1);
    // TODO add your handling code here:
}//GEN-LAST:event_formWindowClosing

private void btnKeluar1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluar1ActionPerformed
dispose();
}//GEN-LAST:event_btnKeluar1ActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.Radiologi.widget.button2 btnKeluar1;
    private SIMRS.Radiologi.widget.button2 btnSimpan;
    private javax.swing.JComboBox cmbJenisKelamin;
    private javax.swing.JLabel jLabel1;
    private SIMRS.Radiologi.widget.Label label10;
    private SIMRS.Radiologi.widget.Label label11;
    private SIMRS.Radiologi.widget.Label label12;
    private SIMRS.Radiologi.widget.Label label13;
    private SIMRS.Radiologi.widget.Label label17;
    private SIMRS.Radiologi.widget.Label label3;
    private SIMRS.Radiologi.widget.Label label4;
    private SIMRS.Radiologi.widget.Label label5;
    private SIMRS.Radiologi.widget.Label label8;
    private SIMRS.Radiologi.widget.Label label9;
    private SIMRS.Radiologi.widget.PnlForm pnlForm2;
    private SIMRS.Radiologi.widget.PnlHead pnlHead1;
    private SIMRS.Radiologi.widget.TextBox txtDaftarTanggal;
    private SIMRS.Radiologi.widget.TextBox txtJenisPasien;
    private SIMRS.Radiologi.widget.TextBox txtKelas;
    private SIMRS.Radiologi.widget.TextBox txtNama;
    private SIMRS.Radiologi.widget.TextBox txtNoRegistrasi;
    private SIMRS.Radiologi.widget.TextBox txtNoRm;
    private SIMRS.Radiologi.widget.TextBox txtRuangan;
    // End of variables declaration//GEN-END:variables
}
